package com.bulletelc.apollopre.entity;

import java.io.Serializable;

/**
 * author: lhl
 * date  : 2018/01/21
 * desc  : TODO
 */

public class OrderDataBean implements Serializable {

    /**
     * type : 1
     * code : 201801191118507538787809
     * customer_id : 4387
     * sender_class : common\models\c2\entity\Warehouse
     * sender_id : 117
     * supplier_class : common\models\c2\entity\Supplier
     * supplier_id : 1
     * eshop_id : 1
     * sub_total : 298
     * grand_total : 298
     * discount_money : 0
     * state : 10
     * comment_state : 10
     * commission_state : 0
     * created_at : 2018-01-19 11:18:50
     * updated_at : 2018-01-19 11:18:50
     * id : 275
     */

    private int type;
    private String code;
    private String customer_id;
    private String sender_class;
    private String sender_id;
    private String supplier_class;
    private String supplier_id;
    private String eshop_id;
    private double sub_total;
    private double grand_total;
    private double discount_money;
    private int state;
    private int comment_state;
    private int commission_state;
    private String created_at;
    private String updated_at;
    private String id;
    /**
     * supplier_id : 1
     * sub_total : 298
     * grand_total : 298
     * discount_money : 0
     */

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(String customer_id) {
        this.customer_id = customer_id;
    }

    public String getSender_class() {
        return sender_class;
    }

    public void setSender_class(String sender_class) {
        this.sender_class = sender_class;
    }

    public String getSender_id() {
        return sender_id;
    }

    public void setSender_id(String sender_id) {
        this.sender_id = sender_id;
    }

    public String getSupplier_class() {
        return supplier_class;
    }

    public void setSupplier_class(String supplier_class) {
        this.supplier_class = supplier_class;
    }

    public String getSupplier_id() {
        return supplier_id;
    }

    public void setSupplier_id(String supplier_id) {
        this.supplier_id = supplier_id;
    }

    public String getEshop_id() {
        return eshop_id;
    }

    public void setEshop_id(String eshop_id) {
        this.eshop_id = eshop_id;
    }

    public double getSub_total() {
        return sub_total;
    }

    public void setSub_total(double sub_total) {
        this.sub_total = sub_total;
    }

    public double getGrand_total() {
        return grand_total;
    }

    public void setGrand_total(double grand_total) {
        this.grand_total = grand_total;
    }

    public double getDiscount_money() {
        return discount_money;
    }

    public void setDiscount_money(double discount_money) {
        this.discount_money = discount_money;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getComment_state() {
        return comment_state;
    }

    public void setComment_state(int comment_state) {
        this.comment_state = comment_state;
    }

    public int getCommission_state() {
        return commission_state;
    }

    public void setCommission_state(int commission_state) {
        this.commission_state = commission_state;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }



    @Override
    public String toString() {
        return "OrderDataBean{" +
                "type=" + type +
                ", code='" + code + '\'' +
                ", state=" + state +
                ", id='" + id + '\'' +
                '}';
    }

}
